html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    color: #333333;
    /*font-family: "Times New Roman", sans-serif;*/
    font-family: tahoma,verdana,arial,sans-serif;
}

html {
    background: url(../images/background.gif) left top repeat;
}

body {
    background: url(../images/background.jpg) left top no-repeat;
    padding-top:30px;
    min-height: 800px;
}

.img {
    border-bottom: 0;
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.shadow_t, .shadow_l, .shadow_b, #footer {
    margin-left: auto;
    margin-right: auto;
}

#all {
    position: relative;
    height: 100%;
    min-height: 100%;
    width: 1007px;
}

html>body #all {
    height: auto;
}

#header {
    background: #eaeaea url(../images/header-bg.jpg) center center no-repeat;
    width: 1007px;
    min-height: 450px;
    position: relative;
}

.inside #header {
    height: 115px;
    min-height: 115px;
    background: #eaeaea url(../images/header-inside-bg.jpg) center center no-repeat;

}

#footer {
    width: 1007px;
    padding: 10px;
    height: 40px;
}

#center {
    background: #ffffff url(../images/main-background.gif) left bottom repeat-x;
    width: 1007px;
    //width: 871px;
    padding: 28px 35px;

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.inside #center {
    background: #dddddd url(../images/center-inside-bg.jpg) top center repeat-x;
    min-height: 300px;
    padding: 28px 22px 78px 22px;
}

.service_color_light {
    background: #dddddd url(../images/center-inside-bg.jpg) top center repeat-x;
    min-height: 300px;
    padding: 28px 22px 78px 22px;
}

ul#menu {
    position: absolute;
    bottom: 0px;
    background: #f9f9f9;
    list-style: none;
    height: 35px;
    margin: 0;
}

.inside #menu {
    position: static;
    padding-bottom: 82px;
    //padding-bottom: 47px;
    margin-top: -35px;

    background: url(../images/menu-inside-background.gif) bottom left repeat-x;
}

ul#menu li {
    padding: 8px 30px;
    float: left;
    background-color: #e3e3e3;
    margin-right: 1px;
}

ul#menu li a {
    color: #252525;
    border-bottom: 0;
    font-variant: small-caps;
}

ul#menu li a:hover {
    color: #777777;
}


ul#menu li.active {
    background-color: #ffffff;
}

ul#menu li.active a {
    color: #666666;
}

ul#menu li.active + li {
    background-image: url(../images/menu-active-shadow.gif);
    background-position: left top;
    background-repeat: repeat-y;
}

a.logo img {
    margin: 20px;
}

.shadow_t {
    padding-top: 10px;
    width: 1024px;
    height: 8px;
    background: url(../images/shadow/t.png) bottom center no-repeat;
}

.shadow_b {
    width: 1024px;
    height: 8px;
    background: url(../images/shadow/b.png) top center no-repeat;
}

.shadow_l {
    width: 1024px;
    padding-left: 8px;
    //position: relative;
    //left: 4px;
    background: url(../images/shadow/l.png) top left repeat-y;
}

.shadow_r {
    width: 1015px;
    //width: 1007px;
    padding-right: 8px;
    background: url(../images/shadow/r.png) top right repeat-y;
}


div.promotion p {
    color: #231f20;
    width: 285px;
    margin: 40px 0 0 20px;
    font-size: 1.1em;
}

div.promotion img {
    margin-left: 125px;
    margin-top: 5px;
}


#center h1 {
    font-weight: normal;
    font-size: 1.4em;
}

.inside #center h1 {
    font-weight: bold;
}

#footer .copyright, #footer .author {
    color: #666666;
    font-size: 0.8em;
}

#footer .copyright {
    float: left;
}

#footer .author {
    float: right;
}

#footer .author a img {
    vertical-align: middle;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=40);
    -moz-opacity: 0.4;
    -khtml-opacity: 0.4;
    opacity: 0.4;
}

#footer .author a:hover img {
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
    -moz-opacity: 1.0;
    -khtml-opacity: 1.0;
    opacity: 1.0;
}

.inside div.sider {
    float: right;
    border-left: 1px solid #a7a7a7;
    padding: 10px;
    width: 280px;
}

/*.inside .content {
    margin-right: 300px;
    //margin-right: 320px;
}*/

.inside .content p {
    text-align: justify;
}


ul#services li {
    list-style: none;
}

h4 {
    font-variant: small-caps;
}

hr {
    border: none;
    color: #c2c2c2;
    background-color: #c2c2c2;
    height: 1px;
    margin: 20px 0;
}

fieldset.contacts {
    border: 0;
    margin-bottom: 30px;
}

fieldset.contacts dl {
    padding-top: 10px;
}

fieldset.contacts dl dt {
    float: left;
    width: 12em;
}

fieldset.contacts dl dd input, fieldset.contacts dl dd textarea {
    width: 400px;
    border: 1px solid #e3e3e3;
}

fieldset.contacts dl dd input:focus, fieldset.contacts dl dd textarea:focus {
    border: 1px solid #464344;
}

fieldset.contacts ul {
    list-style: none;
}

fieldset.contacts ul li input.send {
    border: 1px solid #b9b9b9;
    background: #ffffff;
    padding: 6px 10px;
    float: right;
    margin-right: 11px;
}

a.map {
    font-size: 1.2em;
    font-variant: small-caps;
}

div.errorExplanation {
    font-size: 1.2em;
}

#ajax_indicator_hider {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #999999;
    z-index: 5;

    opacity: 0.5;
    -moz-opacity: 0.5;
    filter: alpha(opacity=50);
}

#textblock_edit {
    position: absolute;
    left: 0;
    top: 50px;
    z-index: 6;
    width: 100%;
}

#textblock_edit .scaffold {
    width: 550px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
}

div.login_info {
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: 286px;
    color: #f0f0f0;
}

div.login_info a {
    color: #f9f9f9;
}

div.login_form {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
}

span.editable:hover {
    background: #e0e0e0;
}

span.editable {
    cursor: pointer;
}

ul#employees li.item {
    list-style: none;
}

li.item ul li, span.home ul li {
    list-style: disc ! important;
    margin-left: 20px ! important;
}

ul#employees li.item strong.job_position {
    display: block;
}

ul li.item img.avatar {
    float: left;
    margin: 10px 20px 20px 0;

    border: 5px solid #ddd;
    padding: 5px;
    background: #f0f0f0;
}



ul.services_list {
    border-right: 1px solid #A7A7A7;
    list-style: none;
    font-size: 90%;
    margin: 0;
    margin-right: 7px;
}

ul.services_list li {
    margin: 1px 0 2px 0;
}

ul.services_list li.menu {
  padding: 8px 15px;
  background-color: #D5D5D5;
}

ul.services_list li a {
    font-size: 1.2em;
    line-height: 1.1em;
    border-bottom: 0;
    color:#252525;
}

ul.services_list li a:hover {
    color: #777;
}

ul.services_list li a.main:hover {
    color: #000;
    border-bottom: 1px solid;
}

ul.services_list li.active {
    background-color: white;
}

ul.services_list li.active a {
    color: #666;
}
ul.services_list li.active {
    background-image: url(../images/menu-active-shadow.gif);
    background-position: right top;
    background-repeat: repeat-y;
}





ul.services_list_right {
    border-left: 1px solid #A7A7A7;
    /*padding-left: 15px;*/
    list-style: none;
    font-size: 90%;
    margin: 0;
    margin-left: 7px;
}

ul.services_list_right li {
    margin: 1px 0 2px 0; /*margin: 5px 0 10px 0;*/
}

ul.services_list_right li a {
    font-size: 1.2em;
    line-height: 1.1em;
    border-bottom: 0;
    color:#252525;
}

ul.services_list_right li a:hover {
    color: #777;
}

ul.services_list_right li.active a {
    color: #030303;
}


div.service_description {
    padding-left: 10px;
    padding-right: 10px;
    list-style: none;
    font-size: 90%;
}

div.service_description ul li {
    margin-left: 20px;
}



/* ------------------------ */
ul.articles_list {
    border-right: 1px solid #A7A7A7;
    float: left;
    padding: 10px;
    width: 250px;
    list-style: none;
    font-size: 90%;
    margin: 0;
}

ul.articles_list li {
    text-align: right;
    margin: 5px 0 10px 0;
}

ul.articles_list li a {
    font-size: 1.2em;
    line-height: 1.1em;
    border-bottom: 0;
}

ul.articles_list li a:hover {
    color: #CD0000;
    border-bottom: 1px solid;
}

ul.articles_list li.active a {
    color: #030303;
}

div.articles_description {
    margin-left: 280px;
    font-size: 90%;
    padding-top: 20px;
}

div.articles_description ul li {
    margin-left: 20px;
}

div.article-left-menu{
  padding-top: 20px;
}
/* ----------------------- ---*/

a.action_inline {
    text-decoration: overline;
    /*color: #808080;*/
    text-transform: uppercase;
    font-size: 0.8em ! important;
    float: right;
    margin-top: -7px;
}

div._404 h1 {
    margin-left: 10px;
}

img.know_how_inside {
    position: absolute;
    right: 30px;
    top: 30px;
}

/*-------------------- Gubish fix ----------------------------*/
.two-frame-block, .three-frame-block {
	overflow: hidden;
}
.two-frame-block .center-frame {
	width: 100%;
	float: right;
	margin-left: -230px;
}
.two-frame-block .center-frame .center-cont {
	margin-left: 230px;
	overflow: hidden;
}
.two-frame-block .left-block {
	width: 225px;
	float: left;
}
.three-frame-block .three-frame-container {
	width: 100%;
	float: left;
	margin-right: -180px;
}
.three-frame-block .three-frame-container .two-frame-block {
	margin-right: 180px;
}
.three-frame-block .right-block {
	width: 175px;
	float: right;
	overflow: hidden;
}
